package org.jdpf.core.kernel.exceptions;

public class IllegalParametersException extends CoreException {

	private static final long serialVersionUID = -2820755028510502598L;
	private String paramName;
	private String transitionId;

	public IllegalParametersException(String msg, String transitionId,
			String paramName) {
		super(CoreExceptionsEnum.IllegalParameters, msg);
		this.transitionId=transitionId;
		this.paramName=paramName;
	}
	
	public String getTransitionIdWithErrors(){
		return transitionId;
	}
	
	public String getParameterNameWithErrors(){
		return paramName;
	}
}
